package com._520it.crm.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang.StringUtils;

import java.util.Date;

@Setter@Getter
public class AuditInsuranceQueryObject extends QueryObject {
    //高级查询条件

    private Long organizationId ;//承保机构ID

    private String cliendName;//投保人名字

    private Long productId ;//产品ID

    private String billNumber;//申请单号
    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8" )
    private Date minDate;//申请时间(小)

    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8" )
    private Date maxDate;//申请时间(大)


//    public String getCliendName(){
//        return StringUtils.isNotBlank(cliendName)? cliendName:null;
//    }
//
//    public String getBillNumber(){
//        return StringUtils.isNotBlank(billNumber)? cliendName:null;
//    }



}
